Subversion Repositories nw_plus

Compare Revisions

Regard whitespace Rev 14 → Rev 13

/nw_plus/NWinter.con
100,9 → 100,6
endevent
 
onevent EVENT_EGS
getactor[THISACTOR].picnum picnum
getactor[THISACTOR].owner owner
 
ifactor APLAYER setactor[THISACTOR].mdflags 16
ifactor DUKETORSO setactor[THISACTOR].mdflags 16
ifactor DUKEGUN setactor[THISACTOR].mdflags 16
1042,7 → 1039,7
ifactor MONEY
{
setactor[THISACTOR].mdflags 16
// getactor[THISACTOR].owner owner
getactor[THISACTOR].owner owner
switch owner
case SNOW case SNOWFLAKE case SNOWMAKER case SNOWMAKERNOMOVE
getactor[THISACTOR].x x
1059,7 → 1056,9
*/
endevent
 
onevent EVENT_ANIMATESPRITES
onevent EVENT_ANIMATESPRITES // This is a hell of a mess because putting get/settspr in states throws warnings, and I don't want that.
getactor[THISACTOR].picnum picnum
getactor[THISACTOR].owner owner
 
ifvare picnum DOORSHOCK
{
1090,13 → 1089,13
ifvare skin SANTA
{
gettspr[THISACTOR].tsprpicnum temp3
ifvarg temp3 1399 ifvarl temp3 1544 addvar temp3 4096
ifvarl temp3 1544 addvar temp3 4096
settspr[THISACTOR].tsprpicnum temp3
 
ifvarg holodukeid -1
{
gettspr[holodukeid].tsprpicnum temp3
ifvarg temp3 1399 ifvarl temp3 1544 addvar temp3 4096
ifvarl temp3 1544 addvar temp3 4096
settspr[holodukeid].tsprpicnum temp3
}
}
1107,7 → 1106,7
ifspawnedby APLAYER
{
gettspr[THISACTOR].tsprpicnum temp3
ifvarg temp3 1399 ifvarl temp3 1544 addvar temp3 4096
ifvarl temp3 1544 addvar temp3 4096
settspr[THISACTOR].tsprpicnum temp3
}
break
/nw_plus/NWActor.con
66,9 → 66,8
getplayer[THISACTOR].i temp
setactor[temp].htextra SNOWBALLAMOUNT
setactor[temp].htpicnum SNOWBALL
// getactor[THISACTOR].owner temp2
setactor[temp].htowner owner
getactor[THISACTOR].owner temp2
setactor[temp].htowner temp2
// addphealth SNOWBALLAMOUNT
debris SCRAP3 5