equal
deleted
inserted
replaced
258 } |
258 } |
259 QDataStream stream(&demofile); |
259 QDataStream stream(&demofile); |
260 stream.writeRawData(demo->constData(), demo->size()); |
260 stream.writeRawData(demo->constData(), demo->size()); |
261 demofile.close(); |
261 demofile.close(); |
262 delete demo; |
262 delete demo; |
|
263 demo=0; |
263 } |
264 } |
264 |
265 |
265 void HWGame::PlayDemo(const QString & demofilename) |
266 void HWGame::PlayDemo(const QString & demofilename) |
266 { |
267 { |
267 gameType = gtDemo; |
268 gameType = gtDemo; |