From: SPAMGUARDriker AT pipcom DOT com (Matt Riker) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Datafiles Date: Thu, 29 Jan 1998 00:13:49 -0500 Organization: Riker Software Lines: 21 Message-ID: References: Reply-To: SPAMGUARDriker AT pipcom DOT com NNTP-Posting-Host: 207.61.241.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article , Shawn AT talula DOT demon DOT co DOT uk says: > >draw_sprite(doublebuffer, datafile[SPRITENAME].dat, 16, 16); > > > >But because SPRITENAME is constantly changing, I need to put in a > >variable instead. > > So, put it in a variable! There is no problem with that. The object ID Hey, what do ya know :) I figured it would read current_sprite as current_sprite in the datafile, instead of reading it as a variable. Wasn't able to test it, cuz I was in the middle of writing the program. Thanks! ____________________________ Matt Riker SPAMGUARDriker AT pipcom DOT com *** Remove SPAMGUARD *** *** when replying! ***