mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
Whoops.
This commit is contained in:
1 parent
e7f1c3e1fa
commit
a78fc4151d
1 file changed
+7
-3
+7
-3
@@ -9,13 +9,17 @@
|
||||
|
||||
/*
|
||||
* $Logfile: /Freespace2/code/Ship/Ship.cpp $
|
||||
* $Revision: 2.177 $
|
||||
* $Date: 2005-03-30 02:32:41 $
|
||||
* $Revision: 2.178 $
|
||||
* $Date: 2005-03-30 05:37:22 $
|
||||
* $Author: wmcoolmon $
|
||||
*
|
||||
* Ship (and other object) handling functions
|
||||
*
|
||||
* $Log: not supported by cvs2svn $
|
||||
* Revision 2.177 2005/03/30 02:32:41 wmcoolmon
|
||||
* Made it so *Snd fields in ships.tbl and weapons.tbl take the sound name
|
||||
* as well as its index (ie "L_sidearm.wav" instead of "76")
|
||||
*
|
||||
* Revision 2.176 2005/03/27 13:37:15 Goober5000
|
||||
* bah
|
||||
*
|
||||
@@ -2714,7 +2718,7 @@ strcpy(parse_error_text, temp_error);
|
||||
stuff_string(buf, F_NAME, NULL);
|
||||
i = gamesnd_get_by_name(buf);
|
||||
if(i != -1)
|
||||
sip->engine_snd = j;
|
||||
sip->engine_snd = i;
|
||||
else
|
||||
sip->engine_snd = atoi(buf);
|
||||
|
||||
|
||||
Reference in new issue
Block a user