mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
- Deleted a_magewand.cpp because it only contained unused code.
SVN r1897 (trunk)
This commit is contained in:
parent
0006013531
commit
a6c387ecef
4 changed files with 372 additions and 440 deletions
|
@ -1,4 +1,5 @@
|
|||
October 4, 2009 (Changes by Graf Zahl)
|
||||
- Deleted a_magewand.cpp because it only contained unused code.
|
||||
- Fixed: The conversation code tried to get the player's tag instead of the
|
||||
NPC's he is talking to when it had no given name.
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "a_magecone.cpp"
|
||||
#include "a_magelightning.cpp"
|
||||
#include "a_magestaff.cpp"
|
||||
#include "a_magewand.cpp"
|
||||
#include "a_pig.cpp"
|
||||
#include "a_serpent.cpp"
|
||||
#include "a_spike.cpp"
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
/*
|
||||
#include "actor.h"
|
||||
#include "gi.h"
|
||||
#include "m_random.h"
|
||||
#include "s_sound.h"
|
||||
#include "d_player.h"
|
||||
#include "a_action.h"
|
||||
#include "p_local.h"
|
||||
#include "a_action.h"
|
||||
#include "p_pspr.h"
|
||||
#include "gstrings.h"
|
||||
#include "a_hexenglobal.h"
|
||||
#include "thingdef/thingdef.h"
|
||||
*/
|
||||
|
||||
static FRandom pr_smoke ("MWandSmoke");
|
||||
|
||||
void A_MWandAttack (AActor *actor);
|
||||
|
||||
//============================================================================
|
||||
//
|
||||
// A_MWandAttack
|
||||
//
|
||||
//============================================================================
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, A_MWandAttack)
|
||||
{
|
||||
AActor *mo;
|
||||
|
||||
mo = P_SpawnPlayerMissile (self, PClass::FindClass("MageWandMissile"));
|
||||
S_Sound (self, CHAN_WEAPON, "MageWandFire", 1, ATTN_NORM);
|
||||
}
|
778
zdoom.vcproj
778
zdoom.vcproj
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue