[Fix] Fucking bug has been there since forever!!!!
This commit is contained in:
parent
aa8a2187ba
commit
f7dadaae29
@ -31,7 +31,7 @@ Ship* get_ship(const char* name) {
|
||||
if(i == ships) // Ship doesn't exist, game will probably crash now.
|
||||
WARN("Ship %s does not exist", name);
|
||||
|
||||
return tmp+1;
|
||||
return tmp+i;
|
||||
}
|
||||
|
||||
Ship* ship_parse(xmlNodePtr parent) {
|
||||
|
Loading…
Reference in New Issue
Block a user