1
0

Fixed formatting for cWitherSkullEntity

This commit is contained in:
madmaxoft 2014-07-17 10:24:29 +02:00
parent e66b81b395
commit cd1e6f8ef0
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
// WitherSkullEntity.cpp
// Implements the cWitherSkullEntity class representing the entity used by both blue and black wither skulls
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "WitherSkullEntity.h"
@ -8,7 +13,7 @@
cWitherSkullEntity::cWitherSkullEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed) :
super(pkWitherSkull, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25)
super(pkWitherSkull, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25)
{
SetSpeed(a_Speed);
}
@ -38,3 +43,7 @@ void cWitherSkullEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_H
Destroy(true);
}

View File

@ -1,6 +1,7 @@
//
// WitherSkullEntity.h
//
// Declares the cWitherSkullEntity class representing the entity used by both blue and black wither skulls
#pragma once