diff options
Diffstat (limited to '')
-rw-r--r-- | source/cFurnaceEntity.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cFurnaceEntity.cpp b/source/cFurnaceEntity.cpp index d5bd192c5..4485d2c01 100644 --- a/source/cFurnaceEntity.cpp +++ b/source/cFurnaceEntity.cpp @@ -74,7 +74,7 @@ void cFurnaceEntity::Destroy() -void cFurnaceEntity::UsedBy( cPlayer & a_Player )
+void cFurnaceEntity::UsedBy( cPlayer * a_Player )
{
LOG("Used a furnace");
@@ -88,11 +88,11 @@ void cFurnaceEntity::UsedBy( cPlayer & a_Player ) }
if( GetWindow() )
{
- if( a_Player.GetWindow() != GetWindow() )
+ if( a_Player->GetWindow() != GetWindow() )
{
- a_Player.OpenWindow( GetWindow() );
+ a_Player->OpenWindow( GetWindow() );
- GetWindow()->SendWholeWindow( a_Player.GetClientHandle() );
+ GetWindow()->SendWholeWindow( a_Player->GetClientHandle() );
}
}
}
|