summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.h
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-12-16 22:56:03 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-12-16 23:01:04 (GMT)
commit9c6f3c7fbb45d458169769b48154277e9e49ff60 (patch)
tree079ab021eefe841cd07aff2ab512c47a367cfa39 /src/simulation/Simulation.h
parentd29c77b2d5d9a03f64d35b7ef8727c7624e9cc99 (diff)
downloadpowder-9c6f3c7fbb45d458169769b48154277e9e49ff60.zip
powder-9c6f3c7fbb45d458169769b48154277e9e49ff60.tar.gz
Fix crash in GameSave::serialiseOPS
Only particlesCount particles have been copied from the Simulation. All the rest are uninitialised, and may have coordinates outside the game area. Using those uninitialised coordinates in the index for partsPosFirstMap may cause a crash.
Diffstat (limited to 'src/simulation/Simulation.h')
0 files changed, 0 insertions, 0 deletions