Show whole topic Jul 20, 2014 11:09 pm
ness Offline
Developer
Registered since: Nov 12, 2010
Location: -


Subject: For DEV again: Crash when killing my own scanner
Hi again,

First crash, simply started single map loaded a few assault guns and (bad idea) just tried to kill my scanner... BOOM

client.cpp: 1826

It seems following code crashes only when you kill your own scanner:
DownloadSource code (C++):
  1. void cClient::deleteUnit (cVehicle* vehicle)
  2. {
  3.         ...
  4.  
  5.         owner->removeUnit (*vehicle);
  6.  
  7.         owner->doScan();
  8. }
This post has been edited 1 times. Last edit on Jul 20, 2014 11:10 pm by ness.