Skip to content

Commit

Permalink
Fixed an x64 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HumanGamer committed May 29, 2021
1 parent 61cedf3 commit e164ffc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine/source/lightingSystem/sgObjectShadows.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//-----------------------------------------------
// Synapse Gaming - Lighting System
// Copyright © Synapse Gaming 2003
// Copyright Synapse Gaming 2003
// Written by John Kabus
//-----------------------------------------------
#ifndef _SGOBJECTSHADOWS_H_
Expand Down Expand Up @@ -57,8 +57,8 @@ class sgObjectShadows
//void sgUpdateShadow(sgShadowProjector *shadow);
//void sgUpdateShadows();
void sgClearMap();
U32 sgLightToHash(LightInfo* light) { return U32(light); }
LightInfo* sgHashToLight(U32 hash) { return (LightInfo*)hash; }
dsize_t sgLightToHash(LightInfo* light) { return dsize_t(light); }
LightInfo* sgHashToLight(dsize_t hash) { return (LightInfo*)hash; }

public:
sgObjectShadows();
Expand Down

0 comments on commit e164ffc

Please sign in to comment.